package io.github.talelin.latticy.mapper;

import io.github.talelin.latticy.model.WmsOmsUserRelDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author generator@wulongbo
 * @since 2022-05-28
 */
public interface WmsOmsUserRelMapper extends BaseMapper<WmsOmsUserRelDO> {

    /**
     * 物理删除
     *
     * @param id 主键id
     * @return true/false
     */
    int deleteLogicById(Integer id);

    /**
     * 物理删除
     *
     * @param id 主键id
     * @param id oms用户id
     * @return true/false
     */
    int deleteLogicByIdAndOmsUserId(@Param("id") Integer id, @Param("omsUserId")Integer omsUserId);
}
